<?php

class Zend_View_Helper_baseUrl {

    protected $_baseUrl;

    function __construct() {
        $fc = Zend_Controller_Front::getInstance();
        $this->_baseUrl = $fc->getBaseUrl();
    }

    function baseUrl($str = '') {
        return $this->_baseUrl.'/'.$str;
    }

}

?>
